package com.ym.b2b.product.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.product.sqlbean.EmBProductPaperBatch;
import com.zc.commons.base.Page;

public interface EmBProductPaperBatchDAO {

    Long searchPageEmBProductPaperBatchNum(EmBProductPaperBatch embproductpaperbatch) throws DataAccessException;

    void searchPageEmBProductPaperBatch(EmBProductPaperBatch embproductpaperbatch, Page<EmBProductPaperBatch> page)
                                                                                                                   throws DataAccessException;

    void insertEmBProductPaperBatch(EmBProductPaperBatch record) throws DataAccessException;

    int updateEmBProductPaperBatch(EmBProductPaperBatch record) throws DataAccessException;

    List<EmBProductPaperBatch> searchEmBProductPaperBatch(EmBProductPaperBatch emBProductPaperBatch)
                                                                                                    throws DataAccessException;

    EmBProductPaperBatch showEmBProductPaperBatch(EmBProductPaperBatch paperBatchId) throws DataAccessException;

    int deleteEmBProductPaperBatch(EmBProductPaperBatch paperBatchId) throws DataAccessException;
}
